# $Id$
# Maintainer:

pkgname=perl-http-date
pkgver=6.02
pkgrel=4
pkgdesc="Date conversion routines"
arch=('any')
url="http://search.cpan.org/dist/HTTP-Date"
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTTP-Date-$pkgver.tar.gz)
sha1sums=('85f8dbcad22f2680775a185ce91a42c89e0ad2a8')

build() {
  cd HTTP-Date-$pkgver
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd HTTP-Date-$pkgver
  make test
}

package() {
  cd HTTP-Date-$pkgver
  make DESTDIR="$pkgdir" install
}
